import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {AccountComponent} from 'app/admin/permissions/account/account.component';
import {RoleComponent} from 'app/admin/permissions/role/role.component';
import {PermissionComponent} from './permission/permission.component';
import {CategoryComponent} from './category/category.component';

const routes: Routes = [
  {
    path: 'account',
    component: AccountComponent,
  },
  {
    path: 'role',
    component: RoleComponent,
  },
  {
    path: 'permission',
    component: PermissionComponent,
  },
  {
    path: 'category',
    component: CategoryComponent,
  }
];

@NgModule({
  imports: [
    RouterModule.forChild(routes)
  ],
  exports: [
    RouterModule
  ],
  providers: []
})
export class PermissionsRoutingModule {
}
